home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / checkbox / plugins / gather_prompt.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-10-12  |  1.1 KB  |  21 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from gettext import gettext as _
  5. from checkbox.lib.cache import cache
  6. from checkbox.plugin import Plugin
  7.  
  8. class GatherPrompt(Plugin):
  9.     
  10.     def register(self, manager):
  11.         super(GatherPrompt, self).register(manager)
  12.         self._manager.reactor.call_on('prompt-gather', self.prompt_gather)
  13.  
  14.     
  15.     def prompt_gather(self, interface):
  16.         interface.show_wait(_('Gathering information from your system...'), self._manager.reactor.fire, 'gather')
  17.  
  18.     prompt_gather = cache(prompt_gather)
  19.  
  20. factory = GatherPrompt
  21.